.detail {
    width: 1400px;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    overflow: hidden !important;
    &__tab {
        border-bottom: 1px dotted $b;
        padding-right: 20px;
        &.p {
            padding-top: 8px;
            padding-bottom: 8px;
        }
        &-item {
            display: inline-block;
            font-size: 15px;
            padding: 12px 0;
            text-align: center;
            min-width: 100px;
            cursor: pointer;
            &.active {
                background: #f5f5f5;
            }
        }
    }

    &__photo {
        position: relative;
        float: left;
        width: 20%;
        height: 300px;
        padding: 10px 15px;
        padding-bottom: 20px;
        border-width: 0 1px 1px 0;
        border-style: dashed;
        border-color: $b;
        overflow: hidden;

        &:hover {
            .detail__download {
                will-change: transform;
                transform: translateY(0);
            }
        }

        &-box {
            display: block;
            height: calc(100vh - 209px);
            overflow: auto;

            &.truing {
                height: calc(100vh - 235px);
            }
        }
    }
    &__tool {
        padding: 12px 0;
        padding-left: 15px;
        border-bottom: 1px dashed $c;
    }
    &__body {
        padding: 15px 0;
        width: 100%;
        padding-bottom: 66.67%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }
    &__header {
        height: 36px;
    }
    &__bottom {
        border-left: 3px solid $e;
        padding-left: 10px;
        font-size: 15px;
    }
    &__img {
        //width: 100%;
        //cursor: pointer;
        &-name {
            padding-bottom: 10px;
        }
    }
    &__name {
        padding-left: 3px;
        color: #555;
        font-size: 13px;
    }
    &__download {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 80px;
        background: linear-gradient(to bottom, transparent, white);
        transform: translateY(100%);
        @include ts;
    }
    &__button {
        cursor: pointer;
        width: 30px;
        height: 30px;
        background: #333;
        color: $white;
        @include ts;
        &:hover {
            background: #555;
        }
    }
    &__preview {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: rgba(0, 0, 0, .6);
        z-index: 10;
        &-img {
            width: 900px;
            max-height: 600px;
        }
    }
}

.pl10 {
    margin-left: 10px;
}